Note: The Number value y can be fractional, and it can be positive or negative. The Number value x can be fractional, but can be negative only if y is a whole number.
The following examples are applicable to both Crystal and Basic syntax:
Returns 12.25. Note that the Exponentiation operator has a higher precedence than Negation, so -3.5 ^ 2 is different from (-3.5) ^ 2.
Note: To express a number to a negative power, enclose the power in parentheses.
| Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com |